home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
001-025
/
scopedisk14
/
hamklido
/
readme
< prev
next >
Wrap
Text File
|
1995-03-18
|
2KB
|
35 lines
Kaleidoscope
Public Domain 1988 Greg Searle
Creates a pretty, moving pattern on a lowres HAM screen. Colors change
smoothly as the pattern is drawn, randomly moving through all 4096 colors.
This program uses the famous "bouncing ball" to guide the pattern. A moving
point follows a straight line until it hits the edge of the screen, where it
"bounces off" somewhat randomly.
This program multitasks fine. The program is active only once per screen
refresh (60 times per second), leaving plenty of time for other programs.
The regular screen gadgets (dragbar, close box, layering gadgets) are hidden
under the pattern. Just hit the close box at the upper-right to shut down
the program.
Notes for HAM version: Since color cycling is not used in this version,
things got a bit boring with just one set of lines, so I added two more
sets - three drawing at the same time. This takes up more overhead than the
original, plus the extra code needed to draw in HAM mode. Color changes are
executed by drawing sequentially in red, green, and blue HAM modes. The
16-color pallette is not used since that would just slow things down more.
Harmless hack: Try bringing a system request window on the
Kaleidoscope's screen. Drag it around, re-size it, etc. See what happens!
(The program uses line patterns to draw horizontal lines in HAM.)
Do this with the FixReq utility, then pull a system requester after
starting this program (put in a corrupt disk, use PopCLI without the
Workbench disk, etc.) Make sure to hit CANCEL before closing the screen!
Enjoy! - Greg